AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Errores / Errores WLanguage
  • Reason
  • Correction
  • Example
  • Using the -- operator on a character string
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Error 530: The -- operator is not allowed
Reason
You are trying to use the -- operator on a variable that does not support this operator.
Correction
Modify your code and use the appropriate operator or function.
Example

Using the -- operator on a character string

Code triggering the error
MyString is string = "ABCD"
MyString--
Possible correction
Use the Left function to remove the letter D from the MyString variable.
MyString is string = "ABCD"
MyString = Left(MyString, 3)
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local